package com.aaa.behind.service.impl;

import com.aaa.entity.TbArticle;
import com.aaa.behind.dao.TbArticleMapper;
import com.aaa.behind.service.ITbArticleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-02-01
 */
@Service
public class TbArticleServiceImpl extends ServiceImpl<TbArticleMapper, TbArticle> implements ITbArticleService {

    @Autowired
    private TbArticleMapper tbArticleMapper;

    @Override
    public TbArticle getArticleByNavId(String navId) {
        return tbArticleMapper.getArticleByNavId(navId);
    }
}
